package com.lhsy.djcloud.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangzw
 * @since 2020-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dj_sys_message")
public class SysMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer tenantId;

    /**
     * 消息类型1=普通消息 2=图文消息 3=
     */
    private Integer type;

    /**
     * 消息组id
     */
    private String groupId;

    private Integer sendEmpId;

    private Integer targetEmpId;

    private String title;

    private String content;

    private String fileName;

    private String filePath;

    /**
     * 0=未发送 1=已发送 2=发送失败
     */
    private Integer status;

    /**
     * 0=未读 1=已读
     */
    private Boolean readFlag;
    private Boolean receiveDelete;
    private Boolean deleteFlag;

    private LocalDateTime createTime;

    private String createName;

    private LocalDateTime updateTime;

    private String updateName;


}
